﻿<%@ Page Language="vb" AutoEventWireup="false" CodeBehind="ManageWorkshops.aspx.vb" Inherits="TWIN_test.ManageWorkshops" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>Workshop Manager</title>
</head>
<body background="../../Images/Training-Administrator-Background.gif">
    <form id="form1" runat="server">
    <center><div>

    
        Manage Workshops<br />
        <asp:GridView ID="GridView1" runat="server" AllowPaging="True"   
            AllowSorting="True" AutoGenerateColumns="False" DataKeyNames="ID"   
            DataSourceID="SqlDataSource3"  AutoGenerateSelectButton="True"
            BackColor="White" BorderColor="White" BorderStyle="None" BorderWidth="5px" 
            CellPadding="2" CellSpacing="2">
            <Columns>
                <asp:BoundField DataField="ID" HeaderText="ID" ReadOnly="True" 
                    SortExpression="ID" />
                <asp:BoundField DataField="TITLE" HeaderText="TITLE" SortExpression="TITLE" />
                <asp:BoundField DataField="DESCRIPTION" HeaderText="DESCRIPTION" 
                    SortExpression="DESCRIPTION" />
            </Columns>
        </asp:GridView>  
        <asp:SqlDataSource ID="SqlDataSource3" runat="server"
                    ConnectionString="<%$ ConnectionStrings:ConnectionString2 %>" 
                    ProviderName="<%$ ConnectionStrings:ConnectionString2.ProviderName %>" 
                    
            SelectCommand="SELECT &quot;ID&quot;, &quot;TITLE&quot;, &quot;DESCRIPTION&quot; FROM &quot;WORKSHOP&quot;" />     
         <br /> 
         <asp:Button id="createWorkshopButton"  runat="server" text="Create New Workshop" />
        <asp:Button ID="adminHomeButton" runat="server" Text="Back to Admin Home" />
        <br />

         

   </div></center>
    </form>
</body>
</html>
